package com.engr.lyx.base.biz.service;


import com.engr.lyx.base.client.req.UserReq;
import com.engr.lyx.base.client.vo.UserVO;

/**
 * @program: blog
 * @desc:
 * @author: lyx
 * @date: 2019-01-24 17:44
 **/
public interface UserService {

    /**
     * @desc: 账户登录
     * @Param: [username]
     * @Author: lyx
     * @Date: 2019-01-25
     */
    UserVO login(String username);


    /**
     * 注册账户
     *
     * @param userReq user info
     * @return user
     */
    UserVO register(UserReq userReq);

}
